package itsm.isperp.module.controller.${module}; 

import itsm.isperp.framework.web.controller.BaseController;
import itsm.isperp.module.entity.${module}.${entityName};
import itsm.isperp.module.service.${module}.${entityName}Service;
  
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller; 
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 控制器
 * 
 * @author lizx
 * @date ${created_date}
 */
@Controller
@RequestMapping("${module}/${mName}")
public class ${entityName}Controller extends BaseController<${entityName}> {

	@Autowired
	protected ${entityName}Service ${entityName2}Service;

	@Override
	public ${entityName}Service getService() {
		return this.${entityName2}Service;
	}
	
	@Override
	public String getPageTitle() {
		return "${title}";
	}
	
	
}
